.class Lcom/example/m6shop/ShopEdit$4;
.super Landroid/os/Handler;
.source "ShopEdit.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/ShopEdit;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/ShopEdit;


# direct methods
.method constructor <init>(Lcom/example/m6shop/ShopEdit;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    .line 189
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v3, 0x1

    const/4 v5, 0x0

    .line 191
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 192
    iget v2, p1, Landroid/os/Message;->arg1:I

    packed-switch v2, :pswitch_data_0

    .line 225
    :cond_0
    :goto_0
    :pswitch_0
    return-void

    .line 197
    :pswitch_1
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    # getter for: Lcom/example/m6shop/ShopEdit;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6shop/ShopEdit;->access$0(Lcom/example/m6shop/ShopEdit;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u8ba2\u5355\u6570\u636e\u4e3a\u7a7a"

    const-string v4, "\u8ba2\u5355\u6570\u636e\u83b7\u53d6\u4e3a\u7a7a"

    invoke-static {v2, v3, v4}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 200
    :pswitch_2
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    iget-object v2, v2, Lcom/example/m6shop/ShopEdit;->button1:Landroid/widget/Button;

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setEnabled(Z)V

    .line 201
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    # getter for: Lcom/example/m6shop/ShopEdit;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6shop/ShopEdit;->access$0(Lcom/example/m6shop/ShopEdit;)Landroid/content/Context;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "\u6570\u636e\u5904\u7406\u5931\u8d25:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    .line 202
    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 203
    .local v0, "checkinfo":Ljava/lang/String;
    const-string v2, "nologin"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 205
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 206
    .local v1, "intent":Landroid/content/Intent;
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    const-class v3, Lcom/example/m6shop/LoginActivity;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 207
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    invoke-virtual {v2, v1}, Lcom/example/m6shop/ShopEdit;->startActivity(Landroid/content/Intent;)V

    .line 208
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    invoke-virtual {v2}, Lcom/example/m6shop/ShopEdit;->finish()V

    goto :goto_0

    .line 213
    .end local v0    # "checkinfo":Ljava/lang/String;
    .end local v1    # "intent":Landroid/content/Intent;
    :pswitch_3
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    iget-object v2, v2, Lcom/example/m6shop/ShopEdit;->button1:Landroid/widget/Button;

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setEnabled(Z)V

    .line 214
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    # getter for: Lcom/example/m6shop/ShopEdit;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6shop/ShopEdit;->access$0(Lcom/example/m6shop/ShopEdit;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u63d0\u793a\u4fe1\u606f\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u6216\u8005\u8054\u7cfb\u5ba2\u670d"

    invoke-static {v2, v3, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 217
    :pswitch_4
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    iget-object v2, v2, Lcom/example/m6shop/ShopEdit;->button1:Landroid/widget/Button;

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setEnabled(Z)V

    .line 218
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    # getter for: Lcom/example/m6shop/ShopEdit;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6shop/ShopEdit;->access$0(Lcom/example/m6shop/ShopEdit;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u64cd\u4f5c\u6210\u529f"

    invoke-static {v2, v3, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    .line 219
    iget-object v2, p0, Lcom/example/m6shop/ShopEdit$4;->this$0:Lcom/example/m6shop/ShopEdit;

    invoke-virtual {v2}, Lcom/example/m6shop/ShopEdit;->finish()V

    goto/16 :goto_0

    .line 192
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_2
        :pswitch_1
        :pswitch_4
        :pswitch_3
    .end packed-switch
.end method
